<?php /* Smarty version Smarty3-SVN$Rev: 3286 $, created on 2011-02-18 23:18:50
         compiled from "/home3/xuanyano/public_html/geek-zoo.com/site/admin/Templates/lib/header.html" */ ?>
<?php /*%%SmartyHeaderCode:4641325104d5e8dda912a94-90980089%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'e2520f8f4aa5a73ec788c6877565a85e5fa1b48b' => 
    array (
      0 => '/home3/xuanyano/public_html/geek-zoo.com/site/admin/Templates/lib/header.html',
      1 => 1288682412,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4641325104d5e8dda912a94-90980089',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Geek Zoo</title>
<link href="style/style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/global.js"></script>

<script type="text/javascript" src="js/ui.js"></script>
<!--[if IE]>
<script src="js/html5.js"></script>
<![endif]-->
</head>

<body>
<!--header-->
<div id="header">
<div class="fr"><input name="" type="button" class="set"><input name="" type="button" class="exit" onclick=window.location.href="?url=user/logout"></div>
<div class="fr"><strong class="name"><?php echo $_SESSION['admin_user']['name'];?>
</strong><span><em>管理员</em></span></div>
<img src="images/logo05.png">
</div>
<!--/header-->

<!--nav-->
<ul id="nav">
	<?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['key'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('menu')->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value){
 $_smarty_tpl->tpl_vars['key']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
		<li <?php if (in_array($_smarty_tpl->getVariable('menu_action')->value,$_smarty_tpl->tpl_vars['val']->value)){?><?php $_smarty_tpl->tpl_vars['t_k'] = new Smarty_variable($_smarty_tpl->tpl_vars['key']->value, null, null);?>class="current"<?php }?>><a href="?url=<?php echo current($_smarty_tpl->tpl_vars['val']->value);?>
"><?php echo $_smarty_tpl->tpl_vars['key']->value;?>
</a></li>
	<?php }} ?>
</ul>
<ul class="sub_menu">
<?php  $_smarty_tpl->tpl_vars['v'] = new Smarty_Variable;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->getVariable('menu')->value[$_smarty_tpl->getVariable('t_k')->value]; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['v']->total= $_smarty_tpl->_count($_from);
 $_smarty_tpl->tpl_vars['v']->iteration=0;
if ($_smarty_tpl->tpl_vars['v']->total > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars['v']->key => $_smarty_tpl->tpl_vars['v']->value){
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['v']->key;
 $_smarty_tpl->tpl_vars['v']->iteration++;
 $_smarty_tpl->tpl_vars['v']->last = $_smarty_tpl->tpl_vars['v']->iteration === $_smarty_tpl->tpl_vars['v']->total;
?>
		<li><a href="?url=<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
"><?php echo $_smarty_tpl->tpl_vars['k']->value;?>
</a></li>
		<?php if (!$_smarty_tpl->tpl_vars['v']->last){?>
		<li>|</li>
		<?php }?>
<?php }} ?>
</ul>
<!--/nav-->